Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
AttributeSet | getAttributes()
Fetches the collection of attributes this element contains. |
Document | getDocument()
Fetches the document associated with this element. |
int | getElementCount()
Gets the number of child elements contained by this element. |
Element | getElement(int index)
Fetches the child element at the given index. |
int | getElementIndex(int offset)
Gets the child element index closest to the given offset. |
int | getEndOffset()
Fetches the offset from the beginning of the document that this element ends at. |
java.lang.String | getName()
Fetches the name of the element. |
Element | getParentElement()
Fetches the parent element. |
int | getStartOffset()
Fetches the offset from the beginning of the document that this element begins at. |
boolean | isLeaf()
Is this element a leaf element? |
Method Detail |
public Document getDocument()
public Element getParentElement()
public java.lang.String getName()
public AttributeSet getAttributes()
public int getStartOffset()
public int getEndOffset()
public int getElementIndex(int offset)
offset
- the specified offset >= 0public int getElementCount()
public Element getElement(int index)
index
- the specified index >= 0public boolean isLeaf()
Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |